import 'package:flutter/material.dart';
import 'package:intl/intl.dart';

extension WidgetExtension on Widget {
  Widget toFullScreen() {
    return Container(
      child: this,
    );
  }
}

String formatDate(DateTime date, {String format = 'yyyy-MM-dd HH:mm:ss'}) {
  return DateFormat(format).format(date);
}

